package com.hibernate;

public class BeanOffre {

		private int idOffre;
		private int prixOffre;
		private int dateDebutDispo;
		private int dateExpiration;
		private boolean enLigne;
		private boolean occasionASaisir;
		private String image;
		private int idVille;
		
		public int getIdOffre() {
			return idOffre;
		}
		public void setIdOffre(int idOffre) {
			this.idOffre = idOffre;
		}
		public int getPrixOffre() {
			return prixOffre;
		}
		public void setPrixOffre(int prixOffre) {
			this.prixOffre = prixOffre;
		}
		public int getDateDebutDispo() {
			return dateDebutDispo;
		}
		public void setDateDebutDispo(int dateDebutDispo) {
			this.dateDebutDispo = dateDebutDispo;
		}
		public int getDateExpiration() {
			return dateExpiration;
		}
		public void setDateExpiration(int dateExpiration) {
			this.dateExpiration = dateExpiration;
		}
		public boolean getEnLigne() {
			return enLigne;
		}
		public void setEnLigne(boolean enLigne) {
			this.enLigne = enLigne;
		}
		public boolean getOccasionASaisir() {
			return occasionASaisir;
		}
		public void setOccasionASaisir(boolean occasionASaisir) {
			this.occasionASaisir = occasionASaisir;
		}
		public String getImage() {
			return image;
		}
		public void setImage(String image) {
			this.image = image;
		}
		public int getIdVille() {
			return idVille;
		}
		public void setIdVille(int idVille) {
			this.idVille = idVille;
		}
		@Override
		public String toString() {
			return "BeanOffre [idOffre=" + idOffre + ", prixOffre=" + prixOffre
					+ ", dateDebutDispo=" + dateDebutDispo
					+ ", dateExpiration=" + dateExpiration + ", enLigne="
					+ enLigne + ", occasionASaisir=" + occasionASaisir
					+ ", image=" + image + ", idVille=" + idVille + "]";
		}
}
